package com.fengchunge.service;

import com.fengchunge.common.ServerResponse;
import com.fengchunge.pojo.ServerInfo;
import com.fengchunge.pojo.SoftUpdateInformation;
import com.github.pagehelper.PageInfo;

/**
 * @description:
 * @author: mingtai
 * @createDate: 22:53 2021/4/26
 * @version: 1.0
 */

public interface IEncounterAtticService {

    ServerResponse<String> addInfo(ServerInfo serverInfo);

    ServerResponse<String> editInfo(ServerInfo serverInfo);

    ServerResponse<String> approval(Long id, Integer approvalStatus);

    ServerResponse<String> hidden(Long id, Integer deleteStatus);

    ServerResponse<String> logicDelete(Long id, Integer logicDelete);

    ServerResponse<ServerInfo> getDetailById(Long id);

    ServerResponse<PageInfo> manageAllList(int pageNum, int pageSize,String cityArea);

    ServerResponse<PageInfo> generalUserList(int pageNum, int pageSize);

    ServerResponse<PageInfo> searchList(String keyword, int pageNum, int pageSize);

    ServerResponse<PageInfo> getListByServiceTypeAndCityArea(int pageNum, int pageSize, String cityArea, Integer serviceType);

    ServerResponse<SoftUpdateInformation> getUpdateInfo();
}



